package priv.conceit.sc.hoxton.common.entity.file.qo;



import lombok.Data;
import org.springframework.web.multipart.MultipartFile;
import priv.conceit.sc.hoxton.common.constant.file.FileSourceEnum;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 文件上传请求体
 *
 * @author conceit
 * @date 2020/11/3 16:52
 */
@Data
public class FileUploadQO {

    @NotNull
    private String createUserId;

    @NotEmpty
    private List<MultipartFile> files;

    /**
     * {@link FileSourceEnum}
     */
    private Integer fileSourceKey;

}
